onFragmentActivityCreated

Deprecated

To get a callback specifically when a Fragment activity's onCreate is called, register a androidx.lifecycle.LifecycleObserver on the Activity's Lifecycle in onFragmentAttached, removing it when it receives the CREATED callback.

Called after the fragment has returned from the FragmentManager's call to onActivityCreated. This will only happen once for any given fragment instance, though the fragment may be attached and detached multiple times.

Parameters

fm

Host FragmentManager

f

Fragment changing state

savedInstanceState

Saved instance bundle from a previous instance